package com.frxuexi.docment

import com.frxuexi.docment.entity.DocData
import com.frxuexi.docment.entity.DocEntity
import kotlinx.coroutines.flow.Flow
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.POST
import retrofit2.http.Query

interface ApiService {

    @POST("/document/seldocuments")
    fun getFiles(@Body body: RequestBody): Flow<DocData>

    @POST("/document/deldocuments")
    fun deleteFile(@Query("fileId") fildId:Int):Flow<DocData>
}